package com.sinothk.lab.globalException;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class GlobalExceptionController {

    @GetMapping("test")
    public String test() {
        throw new BizException("1222");
//        return "222";
    }
}
